package org.jeecg.modules.sms.sms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 短信发送记录
 * @Author: jeecg-boot
 * @Date:   2023-11-08
 * @Version: V1.0
 */
@Data
@TableName("cs_sms_fsjl")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="cs_sms_fsjl对象", description="短信发送记录")
public class CsSmsFsjl implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**租户编号*/
	@Excel(name = "租户编号", width = 15)
    @ApiModelProperty(value = "租户编号")
    private Integer tenantId;
	/**手机号码*/
	@Excel(name = "手机号码", width = 15)
    @ApiModelProperty(value = "手机号码")
    private String sjhm;
	/**发送内容*/
	@Excel(name = "发送内容", width = 15)
    @ApiModelProperty(value = "发送内容")
    private String fsnr;
	/**发送时间*/
	@Excel(name = "发送时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "发送时间")
    private Date fssj;
	/**是否成功*/
	@Excel(name = "是否成功", width = 15)
    @ApiModelProperty(value = "是否成功")
    private String sfcg;
	/**失败原因*/
	@Excel(name = "失败原因", width = 15)
    @ApiModelProperty(value = "失败原因")
    private String sbyy;
	/**短信唯一标识*/
	@Excel(name = "短信唯一标识", width = 15)
    @ApiModelProperty(value = "短信唯一标识")
    private String uid;
	/**状态报告时间*/
	@Excel(name = "状态报告时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "状态报告时间")
    private Date ztbgsj;
	/**短信通道类型*/
	@Excel(name = "短信通道类型", width = 15)
    @ApiModelProperty(value = "短信通道类型")
    private String dxtdlx;
	/**计费条数*/
	@Excel(name = "计费条数", width = 15)
    @ApiModelProperty(value = "计费条数")
    private Integer jfts;
}
